<?php /* Smarty version 2.6.20, created on 2011-08-22 17:46:45
         compiled from pay.tpl */ ?>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['url']; ?>
public/js/pay.js"></script>
<?php echo '
<script type="text/javascript">
    $(document).ready(function(){
        pay.init();
    });
</script>
'; ?>

<form id="form_platnosc" action="https://ssl.dotpay.pl/" method="POST">
    <ul>
        <li>
            <label>Pakiet - </label>
            <label for="package_10">10</label>
            <input checked="checked" class="package" type="radio" value="10" id="package_10" name="package" />
            <label for="package_20">20</label>
            <input class="package" type="radio" value="20" id="package_20" name="package" />
            <label for="package_30">30</label>
            <input class="package" type="radio" value="30" id="package_30" name="package" />
            <label for="package_30">40</label>
            <input class="package" type="radio" value="40" id="package_40" name="package" />
        </li>
        <li>
            <label for="kwota">Kwota</label>
            <input style="width:50px;border: 1px solid gray;" type="text" value="" readonly="readonly" id="kwota" name="kwota" />
            <label>zł</label>
        </li>
        <li>
            <input checked="checked" id="paypal" class="radio" type="radio" name="platnosc" value="212" />
            PayPal
            <img src="images/pay_pal.png" alt="PayPal" />
        </li>
        <li>
            <input class="radio" type="radio" name="platnosc" id="bankRaido" value="przelew_bankowy" />
            Przelew bankowy
            <img src="images/przelew_bankowy.png" alt="Przelew bankowy" />
        </li>
        <li id="bankList" style="display: none;">
            Wybierz bank
            <select name="bank" id="bank">
                <option value="0">Karta VISA, MasterCard, EuroCard, JCB, Diners Club</option>
                <option value="1">mTransfer (mBank)</option>
                <option value="3">MultiTransfer (MultiBank)</option>
                <option value="6">Przelew24 (BZWBK)</option>
                <option value="11">Przekaz/Przelew bankowy</option>
                <option value="13">Deutsche Bank PBC S.A.</option>
                <option value="14">Kredyt Bank S.A. (KB24)</option>
                <option value="16">Lukas Bank</option>
                <option value="17">Nordea Bank Polska</option>
                <option value="21">Moje Rachunki </option>
                <option value="31">Zapłać w Żabce</option>
            </select>
        </li>
        <li>
            <input type="hidden" name="urlc" value="<?php echo $this->_tpl_vars['urlc']; ?>
" />
            <input type="hidden" name="url" value="<?php echo $this->_tpl_vars['finishedActionUrl']; ?>
" />
            <input type="hidden" name="id" value="<?php echo $this->_tpl_vars['id']; ?>
" />
            <input type="hidden" name="type" value="3" />
            <input type="hidden" name="description" value="Opłata za pakiet smsowy"/>
            <input type="hidden" name="blokuj" value="1" />
            <input type="hidden" name="control" value="<?php echo $this->_tpl_vars['control']; ?>
" />
            <input type="hidden" name="channel" value="0" id="channel" />
            <input type="hidden" name="buttontext" value="<?php echo $this->_tpl_vars['button_text']; ?>
" />
            <?php if ($this->_tpl_vars['log']): ?>
                <input type="hidden" name="imie" value="<?php echo $this->_tpl_vars['userData']['0']['name']; ?>
" /> 
                <input type="hidden" name="nazwisko" value="<?php echo $this->_tpl_vars['userData']['0']['surname']; ?>
" /> 
                <input type="hidden" name="email" value="<?php echo $this->_tpl_vars['userData']['0']['email']; ?>
" /> 
            <?php endif; ?>
        </li>
    </ul>
    <input class="submit" type="submit" value="" />
</form>